package controllers

import (
	"github.com/astaxie/beego"
)

type CompanyController struct {
	beego.Controller
}

func (this *CompanyController) Get() {
	this.Layout = "layout/layout.html"
	this.Data["Website"] = "beego.me"
	this.Data["Email"] = "astaxie@gmail.com"
	this.Data["IsLogin"] = checkAccount(this.Ctx)
	this.TplNames = "company/index.html"
}

func (this *CompanyController) Detail() {
	this.Data["Website"] = "beego.me"
	this.Data["Email"] = "astaxie@gmail.com"
	this.TplNames = "company/detail.html"
}

